package org.kaiser;

import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

/**
 * 凯撒密码 - 位移
 */
public class KaiserDemo {


    public static void main(String[] args) throws IOException {
        System.out.println("中".getBytes(StandardCharsets.UTF_8).length );
        System.out.println("中".getBytes(StandardCharsets.ISO_8859_1).length );
        System.out.println("中".getBytes(Charset.forName("GBK")).length );
    }
}
